/*
 * Main  0.4.0 / Oct 24, 2010
 *
 * Copyright (c) 2010 - 2011, cute4j.com and contributors.
 *
 * This software is licensed under the LGPL version 2.1 license.
 * A copy of this license is included in the file LICENSE-LGPL.txt.
 */
package com.cute4j.demos.swingset;

import com.cute4j.swing.SplashScreen;
import com.cute4j.swing.Swing;

/**
 * SwingSet Launcher.
 *
 * @author Slobodan Vrkacevic
 * @version 0.4.0
 */
public final class Main {

// Private Constructor. --------------------------------------------------------

 /**
  * Class has no instances.
  */
  private Main() {
    // empty constructor body
  }

// Main Method. ----------------------------------------------------------------

  /**
   * Starts SwingSet application.
   *
   * @param args the application arguments.
   */
  public static void main(String[] args) {
    Swing.initialize(args);
    Swing.setCustomProperty("explorerStyleEnabled", "true");  // TODO: check
    SplashScreen.create(
                 SwingSet.class.getResource("resources/images/Splash.png"),
                 "Loaging...", 10);
    SwingSet qss = new SwingSet();
    SplashScreen.finish(qss, "Finished");
    Swing.startEventLoop();
  }

}
